﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization; // this is required

namespace DomainModel
{
    [DataContract]
    public class Product
    {
        [DataMember]
        public int product_id = 0;
        [DataMember]
        public int display_id = 0;
        [DataMember]
        public string display_type = "";
        [DataMember]
        public int res_id = 0;
        [DataMember]
        public string res_type = "";
        [DataMember]
        public int make_id = 0;
        [DataMember]
        public string make_type = "";
        [DataMember]
        public int size_id = 0;
        [DataMember]
        public string size_type = "";
        [DataMember]
        public int refresh_id = 0;
        [DataMember]
        public string refresh_type = "";
        [DataMember]
        public double price = 0.00;
        [DataMember]
        public string date_added = "";
        [DataMember]
        public int shipping = 0;
        [DataMember]
        public string shipping_type = "";
        [DataMember]
        public int num_sales = 0;
        [DataMember]
        public int num_stocked = 0;
    }
}
